package com.gxa.mapper;

import com.gxa.entity.DistrictSysAbnormal;

import java.util.Date;
import java.util.List;

public interface AbWarningStatisticsMapper {
    /**
     * 查询每日异常
     * @return
     */
    int findabnormalAlerts();

    /**
     * 新增每日异常
     * @param districtSysAbnormal
     * @return
     */
    int addfindabnormalAlerts(DistrictSysAbnormal districtSysAbnormal);

    /**
     * 查询异常列表
     * @return
     */
    List<DistrictSysAbnormal> findabnormalAlertsList();

    /**
     * 根据日期查询异常列表
     * @param currentDate
     * @return
     */
    List<DistrictSysAbnormal> findabnormalAlertsListByDate( Date currentDate);
}
